Object-Centric Reflection

نویسندگان

  • Jan Kurš
  • Adrian Lienhard
  • Mircea Lungu
  • Fabrizio Perin
  • David Röthlisberger
  • Niko Schwarz
چکیده

Reflective applications are able to query and manipulate the structure and behavior of a running system. This is essential for highly dynamic software that needs to interact with objects whose structure and behavior are not known when the application is written. Software analysis tools, like debuggers, are a typical example. Oddly, although reflection essentially concerns run-time entities, reflective applications tend to focus on static abstractions, like classes and methods, rather than objects. This is phenomenon we call the object paradox, which makes developers less effective by drawing their attention away from run-time objects. To counteract this phenomenon, we propose a purely object-centric approach to reflection. Reflective mechanisms provide object-specific capabilities as another feature. Object-centric reflection proposes to turn this around and put object-specific capabilities as the central reflection mechanism. This change in the reflection architecture allows a unification of various reflection mechanisms and a solution to the object paradox. We introduce Bifröst, an object-centric reflective system based on first-class metaobjects. Through a series of practical examples we demonstrate how object-centric reflection mitigates the object paradox by avoiding the need to reflect on static abstractions. We survey existing approaches to reflection to establish key requirements in the domain, and we show that an object-centric approach simplifies the meta-level and allows a unification of the reflection field. We demonstrate how development itself is enhanced with this new approach: talents are dynamically composable units of reuse, and object-centric debugging prevents the object paradox when debugging. We also demonstrate how software analysis is benefited by object-centric reflection with Chameleon, a framework for building object-centric analysis tools and MetaSpy, a domain-specific profiler.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Blending Real and Virtual Worlds Using Self-reflection and Fiducials

This paper presents an enhanced version of a portable outof-the-box platform for semi-immersive interactive applications. The enhanced version combines stereoscopic visualization, marker-less user tracking, and multi-touch with self-reflection of users and tangible object interaction. A virtual fish tank simulation demonstrates how real and virtual worlds are seamlessly blended by providing a m...

متن کامل

Picturestorming : Ideation via “ Bits of Life ”

This paper describes an artifact-centric approach to a traditional ideation method, brainstorming. Picturestorming uses human-centric images to stimulate ideas in a collaborative setting. In an exploratory study, I found that picturestorming may address limitations of standard brainstorming by reducing evaluation apprehension and production blocking. Pictures also support reflection and group c...

متن کامل

On Marrying Relations and Objects: Relation-Centric and Object-Centric Perspectives

Today there are unmistakable signs that database technology is moving from pure relational technology and pure object-oriented technology toward a unified object-oriented and relational (object-relational, for short) database technology. The basis of unifying relations and objects is the view that the relational model is merely a special case of an object-oriented model. The objective of this a...

متن کامل

A Compact Dual-Mode Wearable Antenna for Body-Centric Wireless Communications

The miniaturization of electronic devices is leading to the creation of body-centric wireless communications (BCWCs), in which wireless devices are attached to the human body. In particular, personal healthcare is considered as the biggest potential application. In this paper, we propose a compact wearable dual-mode (on-body and off-body modes) antenna for personal healthcare systems. For on-bo...

متن کامل

Challenges in Moving from Documents to Information Web for Services

The service industry has traditionally relied on physical documents to communicate and manage their project and operational activities. As they adopt the object-centric view of Web2.0 technologies in their productivity tools, knowledge-based workers now have to work with interconnected object-centric view of information where they earlier had to deal with only documents created from wordprocess...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012